package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Qualitytype;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface QualitytypeService {

	public Qualitytype saveQualitytype(Qualitytype qualitytype);

	public Set<Qualitytype> loadQualitytypes();

	public Set<Qualitytype> loadReferenceQualitytypes(Set<Qualitytype> qualitytypes);

	public Set<Qualitytype> loadQualitytypesByIdSet(Set<Integer> qualitytypesId);

	public Map<String, ?> loadQualitytypeObjectReferencedSet(Qualitytype qualitytype);

	public Map<String, ?> loadQualitytypeClassReferencedSet(Qualitytype qualitytype);

	public void deleteQualitytype(Qualitytype qualitytype);

	public void deleteQualitytypes(Set<Integer> deleteQualitytypesId);

	public List<Qualitytype> findAllQualitytypes(Integer startResult, Integer maxRows);

	public Qualitytype findQualitytypeByPrimaryKey(Integer id);

	public Integer countQualitytypes();

	public Integer countQualitytypes(CmiPagination page);

	public Integer countQualitytypesByName(String queryName);

	public Integer countQualitytypesByDetachedCriteria(CmiPagination page);

}
